package domein;

import javax.swing.DefaultListModel;
import javax.swing.DefaultListCellRenderer;

/**
 *
 * @author Drogan
 */
public class ListCreator {

    private DefaultListModel m_List;

    public ListCreator() {
        m_List = new DefaultListModel();
    }

    public void addQuestion(Vraag question) {
        DefaultListCellRenderer list = new DefaultListCellRenderer();
        list.getListCellRendererComponent(null, list, 1, true, true);
    }

    public void addAnswer(String answer) {
    }

    public DefaultListModel GetList() {
        return m_List;
    }
}
